Integrand size = 23, antiderivative size = 93 \[ \int \frac {\left (f+g x^2\right ) \log \left (c \left (d+e x^2\right )^p\right )}{x^3} \, dx=\frac {e f p \log (x)}{d}-\frac {e f p \log \left (d+e x^2\right )}{2 d}-\frac {f \log \left (c \left (d+e x^2\right )^p\right )}{2 x^2}+\frac {1}{2} g \log \left (-\frac {e x^2}{d}\right ) \log \left (c \left (d+e x^2\right )^p\right )+\frac {1}{2} g p \operatorname {PolyLog}\left (2,1+\frac {e x^2}{d}\right ) \]
[Out]
Time = 0.09 (sec) , antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.391, Rules used = {2525, 45, 2463, 2442, 36, 29, 31, 2441, 2352} \[ \int \frac {\left (f+g x^2\right ) \log \left (c \left (d+e x^2\right )^p\right )}{x^3} \, dx=-\frac {f \log \left (c \left (d+e x^2\right )^p\right )}{2 x^2}+\frac {1}{2} g \log \left (-\frac {e x^2}{d}\right ) \log \left (c \left (d+e x^2\right )^p\right )-\frac {e f p \log \left (d+e x^2\right )}{2 d}+\frac {e f p \log (x)}{d}+\frac {1}{2} g p \operatorname {PolyLog}\left (2,\frac {e x^2}{d}+1\right ) \]
[In]
[Out]
Rule 29
Rule 31
Rule 36
Rule 45
Rule 2352
Rule 2441
Rule 2442
Rule 2463
Rule 2525
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} \text {Subst}\left (\int \frac {(f+g x) \log \left (c (d+e x)^p\right )}{x^2} \, dx,x,x^2\right ) \\ & = \frac {1}{2} \text {Subst}\left (\int \left (\frac {f \log \left (c (d+e x)^p\right )}{x^2}+\frac {g \log \left (c (d+e x)^p\right )}{x}\right ) \, dx,x,x^2\right ) \\ & = \frac {1}{2} f \text {Subst}\left (\int \frac {\log \left (c (d+e x)^p\right )}{x^2} \, dx,x,x^2\right )+\frac {1}{2} g \text {Subst}\left (\int \frac {\log \left (c (d+e x)^p\right )}{x} \, dx,x,x^2\right ) \\ & = -\frac {f \log \left (c \left (d+e x^2\right )^p\right )}{2 x^2}+\frac {1}{2} g \log \left (-\frac {e x^2}{d}\right ) \log \left (c \left (d+e x^2\right )^p\right )+\frac {1}{2} (e f p) \text {Subst}\left (\int \frac {1}{x (d+e x)} \, dx,x,x^2\right )-\frac {1}{2} (e g p) \text {Subst}\left (\int \frac {\log \left (-\frac {e x}{d}\right )}{d+e x} \, dx,x,x^2\right ) \\ & = -\frac {f \log \left (c \left (d+e x^2\right )^p\right )}{2 x^2}+\frac {1}{2} g \log \left (-\frac {e x^2}{d}\right ) \log \left (c \left (d+e x^2\right )^p\right )+\frac {1}{2} g p \text {Li}_2\left (1+\frac {e x^2}{d}\right )+\frac {(e f p) \text {Subst}\left (\int \frac {1}{x} \, dx,x,x^2\right )}{2 d}-\frac {\left (e^2 f p\right ) \text {Subst}\left (\int \frac {1}{d+e x} \, dx,x,x^2\right )}{2 d} \\ & = \frac {e f p \log (x)}{d}-\frac {e f p \log \left (d+e x^2\right )}{2 d}-\frac {f \log \left (c \left (d+e x^2\right )^p\right )}{2 x^2}+\frac {1}{2} g \log \left (-\frac {e x^2}{d}\right ) \log \left (c \left (d+e x^2\right )^p\right )+\frac {1}{2} g p \text {Li}_2\left (1+\frac {e x^2}{d}\right ) \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 92, normalized size of antiderivative = 0.99 \[ \int \frac {\left (f+g x^2\right ) \log \left (c \left (d+e x^2\right )^p\right )}{x^3} \, dx=\frac {e f p \log (x)}{d}-\frac {e f p \log \left (d+e x^2\right )}{2 d}-\frac {f \log \left (c \left (d+e x^2\right )^p\right )}{2 x^2}+\frac {1}{2} g \left (\log \left (-\frac {e x^2}{d}\right ) \log \left (c \left (d+e x^2\right )^p\right )+p \operatorname {PolyLog}\left (2,\frac {d+e x^2}{d}\right )\right ) \]
[In]
[Out]
Time = 0.43 (sec) , antiderivative size = 155, normalized size of antiderivative = 1.67
method | result | size |
parts | \(-\frac {f \ln \left (c \left (e \,x^{2}+d \right )^{p}\right )}{2 x^{2}}+\ln \left (c \left (e \,x^{2}+d \right )^{p}\right ) g \ln \left (x \right )-p e \left (\frac {f \ln \left (e \,x^{2}+d \right )}{2 d}-\frac {f \ln \left (x \right )}{d}+2 g \left (\frac {\ln \left (x \right ) \left (\ln \left (\frac {-e x +\sqrt {-d e}}{\sqrt {-d e}}\right )+\ln \left (\frac {e x +\sqrt {-d e}}{\sqrt {-d e}}\right )\right )}{2 e}+\frac {\operatorname {dilog}\left (\frac {-e x +\sqrt {-d e}}{\sqrt {-d e}}\right )+\operatorname {dilog}\left (\frac {e x +\sqrt {-d e}}{\sqrt {-d e}}\right )}{2 e}\right )\right )\) | \(155\) |
risch | \(\ln \left (\left (e \,x^{2}+d \right )^{p}\right ) g \ln \left (x \right )-\frac {\ln \left (\left (e \,x^{2}+d \right )^{p}\right ) f}{2 x^{2}}-\frac {e f p \ln \left (e \,x^{2}+d \right )}{2 d}+\frac {e f p \ln \left (x \right )}{d}-p g \ln \left (x \right ) \ln \left (\frac {-e x +\sqrt {-d e}}{\sqrt {-d e}}\right )-p g \ln \left (x \right ) \ln \left (\frac {e x +\sqrt {-d e}}{\sqrt {-d e}}\right )-p g \operatorname {dilog}\left (\frac {-e x +\sqrt {-d e}}{\sqrt {-d e}}\right )-p g \operatorname {dilog}\left (\frac {e x +\sqrt {-d e}}{\sqrt {-d e}}\right )+\left (\frac {i \pi \,\operatorname {csgn}\left (i \left (e \,x^{2}+d \right )^{p}\right ) {\operatorname {csgn}\left (i c \left (e \,x^{2}+d \right )^{p}\right )}^{2}}{2}-\frac {i \pi \,\operatorname {csgn}\left (i \left (e \,x^{2}+d \right )^{p}\right ) \operatorname {csgn}\left (i c \left (e \,x^{2}+d \right )^{p}\right ) \operatorname {csgn}\left (i c \right )}{2}-\frac {i \pi {\operatorname {csgn}\left (i c \left (e \,x^{2}+d \right )^{p}\right )}^{3}}{2}+\frac {i \pi {\operatorname {csgn}\left (i c \left (e \,x^{2}+d \right )^{p}\right )}^{2} \operatorname {csgn}\left (i c \right )}{2}+\ln \left (c \right )\right ) \left (-\frac {f}{2 x^{2}}+g \ln \left (x \right )\right )\) | \(280\) |
[In]
[Out]
\[ \int \frac {\left (f+g x^2\right ) \log \left (c \left (d+e x^2\right )^p\right )}{x^3} \, dx=\int { \frac {{\left (g x^{2} + f\right )} \log \left ({\left (e x^{2} + d\right )}^{p} c\right )}{x^{3}} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (f+g x^2\right ) \log \left (c \left (d+e x^2\right )^p\right )}{x^3} \, dx=\int \frac {\left (f + g x^{2}\right ) \log {\left (c \left (d + e x^{2}\right )^{p} \right )}}{x^{3}}\, dx \]
[In]
[Out]
\[ \int \frac {\left (f+g x^2\right ) \log \left (c \left (d+e x^2\right )^p\right )}{x^3} \, dx=\int { \frac {{\left (g x^{2} + f\right )} \log \left ({\left (e x^{2} + d\right )}^{p} c\right )}{x^{3}} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (f+g x^2\right ) \log \left (c \left (d+e x^2\right )^p\right )}{x^3} \, dx=\int { \frac {{\left (g x^{2} + f\right )} \log \left ({\left (e x^{2} + d\right )}^{p} c\right )}{x^{3}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\left (f+g x^2\right ) \log \left (c \left (d+e x^2\right )^p\right )}{x^3} \, dx=\int \frac {\ln \left (c\,{\left (e\,x^2+d\right )}^p\right )\,\left (g\,x^2+f\right )}{x^3} \,d x \]
[In]
[Out]